package com.jjyd.crlp.model.dto.login;


import com.jjyd.crlp.domain.entity.type.LoginType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * 登陆信息
 */
@Data
@ApiModel("登陆信息")
public class LoginDto {

    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名",required = true)
    private String username;

    /**
     * 密码
     */
    @ApiModelProperty(value = "密码",required = true)
    private String password;

    /**
     * 登陆类型：PHONE,EMAIL
     */
    @ApiModelProperty(value = "登陆类型：PHONE,EMAIL",required = true)
    private LoginType loginType;
}
